home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005 / CHIP Utilities 2005.iso / dosapps / freedos / doc / freecom / vspawn.txt < prev   
Encoding:
Text File  |  2002-07-11  |  1.3 KB  |  43 lines

  1. Swap Support #2
  2.     -- 2001/04/01 ska
  3.  
  4. This style of swapping is incompatible with XMS-Only swapping!
  5.  
  6. This swapping is derived from KSSF (see k-swap.txt), but instead of
  7. let the user decide what shell to execute, this swap faker uses a fixed
  8. filename.
  9.  
  10. Useage:    VSPAWN [{ argument }]
  11.  
  12. VSpawn creates the filename of the shell to execute itself by replacing
  13. its own file extension by .SWP. All the arguments are passed to the
  14. invoked shell unchanged.
  15.  
  16. Most useful installation:
  17.  
  18. Make COMMAND.COM and TOOLS\VPSAWN.COM by running BUILD.BAT.
  19.  
  20. Rename COMMAND.COM into COMMAND.SWP.
  21.  
  22. Move TOOLS\VPSAWN.COM to COMMAND.COM.
  23.  
  24. Run COMMAND.COM.
  25. VSpawn automatically invokes COMMAND.SWP;
  26. COMMAND.SWP determines that it has been invoked using the VSpawn
  27. feature and will maintain %COMSPEC%==*.COM, but will use *.SWP as
  28. resource file.
  29.  
  30. Because the COMSPEC variable contains the *.COM filename, which is the
  31. VSpawn wrapper, all subsequent invocations of a secondary shell will
  32. use the VSpawn wrapper as well.
  33.  
  34. ===
  35.  
  36. If FreeCOM detects the VSpawn feature beeing used, it defaults to
  37. swap when executing external commands.
  38. This can be suppressed by invoking external commands by:
  39. CALL /N prg
  40. or passing the option /SWAP to FreeCOM.
  41.  
  42. If auto-swap is not active, /SWAP enables it.
  43.